cmake_minimum_required(VERSION 3.24)
project(cppsqlite)

set(CMAKE_CXX_STANDARD 23)

include_directories(third_party/sqlite)

set(SQLITE_SOURCES
        third_party/sqlite/sqlite3.c
        third_party/sqlite/sqlite3.h
        SQLiteManager.cpp SQLiteManager.h SegmentTask.h
        third_party/eventbus/ThreadSafeQueue.h third_party/eventbus/Event.h third_party/eventbus/EventBus.h)

add_executable(cppsqlite main.cpp ${SQLITE_SOURCES})
